// 导入
import request from '@/utils/request'

// 新增
export const saveGcApi = (data) => {
  return request({
    url: 'api/gradecourse/save',
    method: 'post',
    data:data
  })
}
//查询
export const pageGcApi = (data) => {
  return request({
    url: 'api/gradecourse/page',
    method: 'get',
    params: data
  })
}
//修改
export const updateGcApi = (data) => {
  return request({
    url: 'api/gradecourse/update',
    method: 'post',
    data: data
  })
}
//删除
export const deleteGcApi = (data) => {
  return request({
    url: 'api/gradecourse/delete',
    method: 'post',
    data: data
  })
}